#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

#include<vector>


using namespace std;


#include"bitset.h"


int main()
{
	wjb::BitSet<-1> s;

	s.set(1);

	int a[] = { 1,2,3,3,3,33,4,5,5,6,7,7,8,9,9,0,7,546,56,43,64,1,1,212,1, };

	wjb::TwoBitSet<999> tbs;
	for (auto e : a)
	{
		tbs.set(e);
	}

	for (auto e : a)
	{
		if (tbs.onlyOnce(e))
		{
			cout << e << " ";
		}
	}
	cout << endl;


	return 0;
}